<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>气度网 - 气度如水</title>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link type="text/css" rel="stylesheet" href="${ctx}/css/news_main.css">
    <script src="${ctx}/js/jquery-1.5.2.min.js" type="text/javascript"></script>
	<script src="${ctx}/js/ad_image.js" type="text/javascript" ></script>
</head>
<body>
<div id="container">
	<!-- 头部 -->
	<%@ include file="header.jsp"%>
	<%@ include file="news_header.jsp"%>
	<!-- 内容 -->    
    <div id="body">
    	<div class="left">
    	<!-- 标题 -->
    		<div class="left_title">
        		<div class="side1"></div>
            	<div class="side2">图片新闻</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
        	<div class="left_container">
        		<!-- 广告 -->
				<div class="pic_news" id="idTransformView3">
					<ul class="slider slider3" id="idSlider3">
    					<li><a href="#"><img src="${ctx}/image/ad/company_1.jpg" alt=""/></a></li>
    					<li><a href="#"><img src="${ctx}/image/ad/company_2.gif" alt=""/></a></li>
    					<li><a href="#"><img src="${ctx}/image/ad/company_3.jpg" alt=""/></a></li>
                        <li><a href="#"><img src="${ctx}/image/ad/company_4.gif" alt=""/></a></li>
                        <li><a href="#"><img src="${ctx}/image/ad/company_5.jpg" alt=""/></a></li>
					</ul>
                    <ul class="num" id="idNum3">
                        <li>1</li>
                        <li>2</li>
                        <li>3</li>
                        <li>4</li>
                        <li>5</li>
                    </ul>
				</div>
                <div class=""></div>
        		<!-- 图片内容 -->
        		<div class="pic_news2">
                	<!-- 行 -->
                	<div class="pic_row">
                    	<!-- 列 -->
                    	<div class="pic_col">
                        	<div class="pic_info">
                            	<a href="#">
                                	<img src="${ctx}/image/ad/ad_334X200.gif" width="135" height="100px" title="图片新闻2011">
                                </a>
                            </div>
                            <div class="pic_title">图片新闻2011</div>
                        </div>
                        <!-- 列 -->
                    	<div class="pic_col">
                        	<div class="pic_info">
                            	<a href="#">
                                	<img src="${ctx}/image/ad/ad_334X200.gif" width="135" height="100px" title="图片新闻2011">
                                </a>
                            </div>
                            <div class="pic_title">图片新闻2011</div>
                        </div>
                    </div>
                	<!-- 行 -->
                	<div class="pic_row">
                    	<!-- 列 -->
                    	<div class="pic_col">
                        	<div class="pic_info">
                            	<a href="#">
                                	<img src="${ctx}/image/ad/ad_334X200.gif" width="135" height="100px" title="图片新闻2011">
                                </a>
                            </div>
                            <div class="pic_title">图片新闻2011</div>
                        </div>
                        <!-- 列 -->
                    	<div class="pic_col">
                        	<div class="pic_info">
                            	<a href="#">
                                	<img src="${ctx}/image/ad/ad_334X200.gif" width="135" height="100px" title="图片新闻2011">
                                </a>
                            </div>
                            <div class="pic_title">图片新闻2011</div>
                        </div>
                    </div>
            	</div>
        	</div>
    	</div>
    	<div class="middle">
        	<div class="middle_title">
        		<div class="side1"></div>
            	<div class="side2">国内新闻</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
            <div class="middle_container">
            	<p></p>
                <div class="news_title">
                	<s:iterator value="nationalNews.objList" var="news1">
						<a href="${ctx}/news/queryById?id=<s:property value='#news1.id' />">
							<div class="title"><s:property value="#news1.title" /></div><div class="date"><s:property value="#news1.createDate" /></div>
						</a>
                	</s:iterator>    
                </div>
                <div class="clear"></div>
                <div class="more"><a href="${ctx}/news/listBySortByPage?pageNum=1&sort.typeCode=NE002">更多</a></div>
            </div>
            <div class="clear"></div>
            <div class="middle_title">
        		<div class="side1"></div>
            	<div class="side2">国际新闻</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
            <div class="middle_container">
            	<p></p>
                <div class="news_title">
                	<s:iterator value="nationalNews.objList" var="news1">
						<a href="${ctx}/news/queryById?id=<s:property value='#news1.id' />">
							<div class="title"><s:property value="#news1.title" /></div><div class="date"><s:property value="#news1.createDate" /></div>
						</a>
                	</s:iterator>
                </div>
                <div class="clear"></div>
                <div class="more"><a href="${ctx}/news/listBySortByPage?pageNum=1&sort.typeCode=NE003">更多</a></div>
            </div>
            <div class="clear"></div>
            <div class="middle_title">
        		<div class="side1"></div>
            	<div class="side2">政策法规</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
            <div class="middle_container">
            	<p></p>
                <div class="news_title">
                	<s:iterator value="nationalNews.objList" var="news1">
						<a href="${ctx}/news/queryById?id=<s:property value='#news1.id' />">
							<div class="title"><s:property value="#news1.title" /></div><div class="date"><s:property value="#news1.createDate" /></div>
						</a>
                	</s:iterator> 
                </div>
                <div class="clear"></div>
                <div class="more"><a href="${ctx}/news/listBySortByPage?pageNum=1&sort.typeCode=NE005">更多</a></div>
            </div>
            <div class="clear"></div>          
        </div>
    	<div class="right">
			<div class="right_title">
        		<div class="side1"></div>
            	<div class="side2">地方新闻</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
            <div class="right_container">
            	<p></p>
                <div class="news_title">
					<s:iterator value="sortList_pv" var="sort_pv" status="count">
						<s:if test="#count.index%5 == 0 || #count.first"><li></s:if>
							<a href="${ctx}/news/listBySortByPage?pageNum=1&sort.typeCode=<s:property value='#sort_pv.typeCode' />"><div class="title"><s:property value="#sort_pv.typeName" /></div></a>
					    <s:if test="#count.index%5 == 4 || #count.last"></li></s:if>	                
					</s:iterator>
                </div>
                <div class="more"><a href="#">更多</a></div>
            </div>
			<div class="right_title">
        		<div class="side1"></div>
            	<div class="side2">排行榜</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
            <div class="right_container">
            	<p></p>
                <div class="news_title">
                	<li><a href="#"><div class="title_rank">日本福岛核电站泄漏</div></a></li>
                	<li><a href="#"><div class="title_rank">日本福岛核电站泄漏</div></a></li>
                	<li><a href="#"><div class="title_rank">日本福岛核电站泄漏</div></a></li>
              	</div>
                <div class="more"><a href="#">更多</a></div>
            </div>            
			<div class="right_title">
        		<div class="side1"></div>
            	<div class="side2">相关链接</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
            <div class="right_container">
            	<p></p>
                <div class="news_title">
                	<li>
                    	<a href="#"><div class="title_link">百度</div></a>
                        <a href="#"><div class="title_link">微软中国</div></a>
                        <a href="#"><div class="title_link">Google</div></a>
                    </li>
                    <li>
                        <a href="#"><div class="title_link">Qeado-气度网</div></a>
                        <a href="#"><div class="title_link">人民日报</div></a>
                	</li>          
              	</div>
            </div>               
      </div>
    </div>
    <div class="clear"></div>
    <div class="ad_2"><a href="http://www.google.com"><img src="${ctx}/image/ad/news_ad1.gif"></a></div>
   	
    <div class="body_2">
    	<!-- 左边 -->
        <div class="news_container_1">
			<s:iterator value="allNews" status="count">        
				<s:if test="#count.odd || #cout.first"><div class="row"></s:if>           
				<div class="cols">
            		<div class="down_title">
        				<div class="side1"></div>
            			<div class="side2"><s:property value="key" /></div>
            			<div class="side3"></div>
        			</div>
        			<div class="clear"></div>
            		<div class="down_container">
            			<p></p>
                    	<div class="news_title">
                			<s:iterator value="value.objList" var="news1">
                    			<a href="${ctx}/news/queryById?id=<s:property value='#news1.id' />">
                    				<div class="title"><s:property value="#news1.title" /></div>
                    				<div class="date"><s:property value="#news1.createDate" /></div>
								</a>
							</s:iterator>           
                     	</div>
                		<div class="clear"></div>
                		<div class="more"><a href="#">更多</a></div>
            		</div>
            		<div class="clear"></div>
                </div>
       			<s:if test="#count.even || #count.last"></div></s:if>      
			</s:iterator>
        </div>
        <!-- 右边 -->
		<div class="news_container_2">
			<div class="right_title">
        		<div class="side1"></div>
            	<div class="side2">行业新闻</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
            <div class="right_container">
            	<p></p>
                <div class="news_title">
                	<li>
                    	<a href="#"><div class="title">养鸡行业</div></a>
                        <a href="#"><div class="title">畜牧行业</div></a>
                        <a href="#"><div class="title">药物行业</div></a>
                        <a href="#"><div class="title">水产行业</div></a>
                	</li>
                </div>
                <div class="more"><a href="#">更多</a></div>
            </div>
			<div class="right_title">
        		<div class="side1"></div>
            	<div class="side2">广告服务</div>
            	<div class="side3"></div>
        	</div>
        	<div class="clear"></div>
            <div class="right_container">
            	<p></p>
                <div class="news_title">
					<s:iterator value="sortList_aspect" var="sort_as" status="count">
						<s:if test="#count.index%4 == 0 || #count.first"><li></s:if>
							<a href="${ctx}/news/listBySortByPage?pageNum=1&sort.typeCode=<s:property value='#sort_as.typeCode' />" >
								<div class="title"><s:property value="#sort_as.typeName" /></div>
							</a>
					    <s:if test="#count.index%4 == 3 || #count.last"></li></s:if>	
					</s:iterator>
              	</div>
            </div>
            <div class="right_container">
                <div class="ad_03">
					<a href="#"><img src="#" ></a>
                </div>
            </div>  
        </div>
    </div>
    
    <!-- 尾部 -->
	<%@ include file="tail.jsp"%>
</div>   
</body>
</html>
